From: Claudio Cambra Date: Fri, 24 Jan 2025 03:56:26 +0000 (+0800) Subject: shell_integration/macOS/FileProviderUIExt: Do not hide copy link buttons for internal... X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~2^2~79^2~4 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success/%22http:/www.example.com/cgi/success?a=commitdiff_plain;h=e27c492778055e02622b47ce9d97f0e36b3f36bd;p=nextcloud-desktop.git shell_integration/macOS/FileProviderUIExt: Do not hide copy link buttons for internal link shares Signed-off-by: Claudio Cambra --- diff --git a/shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/Sharing/ShareTableItemView.swift b/shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/Sharing/ShareTableItemView.swift index 665106293..b08193531 100644 --- a/shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/Sharing/ShareTableItemView.swift +++ b/shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/Sharing/ShareTableItemView.swift @@ -24,7 +24,9 @@ class ShareTableItemView: NSTableCellView { } typeImageView.image = share.typeImage label.stringValue = share.displayString - copyLinkButton.isHidden = share.shareType != NKShare.ShareType.publicLink.rawValue + copyLinkButton.isHidden = + share.shareType != NKShare.ShareType.publicLink.rawValue && + share.shareType != NKShare.ShareType.internalLink.rawValue } }